package com.create.vip.mall.aditems.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "ad_items")
public class AdItems implements Serializable {

    @TableId(type = IdType.AUTO)
    private int id;

    private String name;
    //分类，1首页推广,2列表页推广
    private int type;
    //展示的产品
    @TableField(value = "sku_id")
    private int skuId;
    //排序
    private int sort;

}
